home *** CD-ROM | disk | FTP | other *** search
- Path: airdmhor.gen.nz!not-for-mail
- From: gumboot@airdmhor.gen.nz (Simon Hosie)
- Newsgroups: comp.lang.c
- Subject: Largest effective integer.
- Date: 10 Apr 1996 05:07:42 +1200
- Organization: Airdmhor : a couple of BBS's, a bunch of people, and a cat.
- Message-ID: <4ke5gu$o7u@airdmhor.gen.nz>
- X-Newsreader: TIN [version 1.2 PL2]
-
- What's the highest unsigned value you can safely represent without losing
- integer accuracy using an ANSI defined type? For example you can get as
- high as 4294967295 (32 bits) using an unsigned long, or 2251800000000000ish
- (51 bits) using an IEEE 8 byte real, but I don't know what the minimum
- limits are for reals.
-
- Basically I want a really big unsigned int and I don't care what format
- it's in or how slow it is.
-